package dao;

import entity.Employee;

import java.util.List;

public interface EmployeeDao {
    public List<Employee> findAll();
    public List<Employee> findByName(String name);
    public int insert(Employee employee);
    public int update(Employee employee);

    Employee getById(int empId);

    int delete(int empId);
}
